DATAREG

Syntax: DATAREG [number]  number=0...3
Location: TRAPS (DIY Toolkit Vol T)

This function returns the value of the Machine code data register number (default 0) following the completion of a MTRAP, QTRAP or BTRAP command.

The default data register number is 0.

Number will let you read the value of the relevant data register D0, D1, D2 or D3.

CROSS-REFERENCE:
ADDREG allows you to read machine code address registers - see this for an example of DATREG.
See MTRAP, QTRAP and BTRAP.
